Skip to main content
POST
/
v1
/
log-repositories
Create a new log repository
curl --request POST \
  --url https://api.getmaxim.ai/v1/log-repositories \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "workspaceId": "<string>",
  "folderId": "<string>",
  "customPricingStructureId": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "workspaceId": "<string>",
    "folderId": "<string>",
    "config": {},
    "customPricingStructureId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
name
string
required

Name of the log repository

workspaceId
string
required

Unique identifier for the workspace

description
string

Optional description for the log repository

folderId
string

Optional ID of the folder to create the repository in

customPricingStructureId
string

Optional custom pricing structure ID

Response

Log repository created successfully

data
object
required
I